package com.asiainfo.ssm.execute.dao.impl;

import com.asiainfo.ssm.execute.bo.BOWSReqXmlEngine;
import com.asiainfo.ssm.execute.dao.interfaces.IWSReqXmlDAO;
import com.asiainfo.ssm.execute.ivalues.IBOWSReqXmlValue;

public class WSReqXmlDAOImpl implements IWSReqXmlDAO {
	public void saveWSReqXml(IBOWSReqXmlValue wSReqXmlValue) throws Exception {
		if(wSReqXmlValue.isNew()){
			wSReqXmlValue.setReqId(BOWSReqXmlEngine.getNewId().longValue());
		}
		BOWSReqXmlEngine.save(wSReqXmlValue);
	}
}
